<?php

class CategroyModel extends AdvModel
{

    protected $_validate = array(
        array('fatherid', 'require', '父类必填！', 1, '', 3),
        array('name', 'require', '标题必填！', 1, '', 3),
    );
    protected $_auto = array(
        array('orderid', '0'),
    );

}

?>